package com.ctgu.examonline.service.serviceImpl;

import com.ctgu.examonline.dao.ManagerDao;
import com.ctgu.examonline.service.ManagerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ManagerServiceImpl implements ManagerService {

    @Resource
    private ManagerDao managerDao;

    @Override
    public Integer login(Integer mana_no, String mana_pwd) {
        return managerDao.findManagerByNoAndPassword(mana_no, mana_pwd);
    }
}
